package org.example.aidemo.service;

import org.example.aidemo.pojo.Order;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.util.List;


public interface OrderService {
    Order getOrderById(String id);
    List<Order> getAllOrders();
    List<Order> getOrderByUsername(String status);
    Order deleteOrderById(String id);
    Order modifyOrderByIdToAddress(String id, String address);
    int addOrder(String name, String username, String address, LocalDateTime createTime);
}
